Global Index
HTML5 JS API Index > Web Audio Tutorials & Specs

AudioListener

This interface represents the position and orientation of the person listening to the audio scene. All PannerNode objects spatialize in relation to the AudioContext's listener. See this section for more details about spatialization.

Properties
doubledopplerFactor
doublespeedOfSound
Operations
voidsetOrientation(double x, double y, double z, double xUp, double yUp, double zUp)
voidsetPosition(double x, double y, double z)
voidsetVelocity(double x, double y, double z)